﻿namespace dPet.Domain.Specifications
{
	using dPet.Domain.Models;
	using Hangerd.Specification;

	public class StaffSpecifications
	{
		public static Specification<Staff> HospitalIdEquals(string hospitalId)
		{
			return new DirectSpecification<Staff>(s => s.HospitalId == hospitalId);
		}

		public static Specification<Staff> LoginNameEquals(string loginName)
		{
			return new DirectSpecification<Staff>(s => s.LoginName == loginName);
		}
	}
}
